home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Media Design Review 1999
/
Interactive Media Design Review 1999.iso
/
mac
/
allfiles
/
Centri
/
Centri.dir
/
00272_Script_ControlsLoc
< prev
next >
Wrap
Text File
|
1999-02-25
|
5KB
|
91 lines
property origSprite, fsprite1, fsprite2, fsprite3,
on enterFrame me
set the height of sprite fsprite1 = the height of sprite origSprite * 0.1
set the width of sprite fsprite1 = the height of sprite fsprite1
set the height of sprite fsprite2 = the height of sprite origSprite * 0.1
set the width of sprite fsprite2 = the height of sprite fsprite2
set the height of sprite fsprite3 = the height of sprite origSprite * 0.1
set the width of sprite fsprite3 = the height of sprite fsprite3
on exitFrame me
if the locv of sprite the spriteNum of me > 15 then
if the spriteNum of me = 54 then
set the locv of sprite fsprite1 = the top of sprite origSprite + (the height of sprite origSprite * 0.95)
set the locv of sprite fsprite2 = the top of sprite origSprite + (the height of sprite origSprite * 0.95)
set the locv of sprite fsprite3 = the top of sprite origSprite + (the height of sprite origSprite * 0.95)
set the loch of sprite fsprite1 = the left of sprite origSprite + (the width of sprite origSprite * 0.82)
set the loch of sprite fsprite2 = the left of sprite origSprite + (the width of sprite origSprite * 0.89)
set the loch of sprite fsprite3 = the left of sprite origSprite + (the width of sprite origSprite * 0.96)
else if the spriteNum of me = 70 then
set the locv of sprite fsprite1 = the top of sprite origSprite + (the height of sprite origSprite * 0.95)
set the locv of sprite fsprite2 = the top of sprite origSprite + (the height of sprite origSprite * 0.95)
set the locv of sprite fsprite3 = the top of sprite origSprite + (the height of sprite origSprite * 0.95)
set the loch of sprite fsprite1 = the left of sprite origSprite + (the width of sprite origSprite * 0.87)
set the loch of sprite fsprite2 = the left of sprite origSprite + (the width of sprite origSprite * 0.92)
set the loch of sprite fsprite3 = the left of sprite origSprite + (the width of sprite origSprite * 0.98)
else if the spriteNum of me = 79 then
set the locv of sprite fsprite1 = the top of sprite origSprite + (the height of sprite origSprite * 0.93)
set the locv of sprite fsprite2 = the top of sprite origSprite + (the height of sprite origSprite * 0.93)
set the locv of sprite fsprite3 = the top of sprite origSprite + (the height of sprite origSprite * 0.93)
set the loch of sprite fsprite1 = the left of sprite origSprite + (the width of sprite origSprite * 0.88)
set the loch of sprite fsprite2 = the left of sprite origSprite + (the width of sprite origSprite * 0.93)
set the loch of sprite fsprite3 = the left of sprite origSprite + (the width of sprite origSprite * 0.97)
else if the spriteNum of me = 89 then
set the locv of sprite fsprite1 = the top of sprite origSprite + (the height of sprite origSprite * 0.95)
set the locv of sprite fsprite2 = the top of sprite origSprite + (the height of sprite origSprite * 0.95)
set the locv of sprite fsprite3 = the top of sprite origSprite + (the height of sprite origSprite * 0.95)
set the loch of sprite fsprite1 = the left of sprite origSprite + (the width of sprite origSprite * 0.88)
set the loch of sprite fsprite2 = the left of sprite origSprite + (the width of sprite origSprite * 0.93)
set the loch of sprite fsprite3 = the left of sprite origSprite + (the width of sprite origSprite * 0.98)
else if the spriteNum of me = 97 then
set the locv of sprite fsprite1 = the top of sprite origSprite + (the height of sprite origSprite * 0.95)
set the locv of sprite fsprite2 = the top of sprite origSprite + (the height of sprite origSprite * 0.95)
set the locv of sprite fsprite3 = the top of sprite origSprite + (the height of sprite origSprite * 0.95)
set the loch of sprite fsprite1 = the left of sprite origSprite + (the width of sprite origSprite * 0.806)
set the loch of sprite fsprite2 = the left of sprite origSprite + (the width of sprite origSprite * 0.876)
set the loch of sprite fsprite3 = the left of sprite origSprite + (the width of sprite origSprite * 0.942)
end if
end if
updateStage
end
on getPropertyDescriptionList
set p_list = [ ¼
origSprite : [ #comment: " The loch of which Sprite:", ¼
#format: #integer, ¼
#default: 1 ] , ¼
fsprite1 : [ #comment: " follow Sprite 1:", ¼
#format: #integer, ¼
#default: 1 ] , ¼
fsprite2 : [ #comment: " follow Sprite 2:", ¼
#format: #integer, ¼
#default: 2 ] , ¼
fsprite3 : [ #comment: " follow Sprite 3:", ¼
#format: #integer, ¼
#default: 3 ]]
return p_list
end